#!/bin/sh
cp gzrom.bin /tmp/
#python ../tools/pmonenv.py -f /tmp/gzrom.bin -o 0x70000 -s 512 -w al=/dev/fs/fat@usb0/boot/vmlinux.ls1b rd=/dev/fs/fat@usb0/boot/initrd-ls1b.gz append='console=ttyS2,115200 loglevel=20'
#python ../tools/pmonenv.py -f /tmp/gzrom.bin -o 0x70000 -s 512 -w al=/dev/mtd0  append='console=ttyS2,115200 loglevel=20 root=/dev/mtdblock1 rootfstype=yaffs2' gmacspeed=100
#python ../tools/pmonenv.py -f /tmp/gzrom.bin -o 0xff000 -s 492 -w -b494:000000000001 al=/dev/fs/ext2@wd0/boot/vmlinux al1=/dev/fs/yaffs2@mtd0/vmlinuz kargs='video=ls2k-fb:1024x768-16@60 ls2k_fb.clockpol=1 ethaddr=00:00:00:00:00:01'  append='root=/dev/nfs ip=dhcp  nfsroot=10.50.122.29:/mnt/fedora21 console=ttyS0,115200 kgdboc=ttyS0,115200  rw' bootdelay=3 FR=1 mtdparts='spinand_flash:30M@0(kernel),-(rootfs)'
python ../tools/pmonenv.py -f /tmp/gzrom.bin -o 0xff000 -s 492 -w -b494:000000000001 al=/dev/fs/ext2@wd0/boot/vmlinux al1=/dev/fs/yaffs2@mtd0/vmlinuz kargs='video=ls2k-fb:1024x768-16@60 ls2k_fb.clockpol=1 ethaddr=00:00:00:00:00:01' append='console=ttyS0,115200' bootdelay=3 FR=1 mtdparts='nand-flash:30M@0(kernel),-(rootfs)' rd=/dev/fs/yaffs2@mtd0/rootfs.cpio.gz
